package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.dto.DishDto;
import com.itheima.reggie.entity.Category;
import com.itheima.reggie.entity.Dish;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @Author 669
 * @CreateDate 2023/2/26 11:34
 * @Version 1.0
 */
public interface DishService extends IService<Dish> {
    //保存菜品
    void saveWithFlavor(DishDto dishDto);
    //根据id删除菜品信息和对应的口味信息
    void delDish(List<Long> ids);
    //根据id查询菜品信息和对应的口味信息
    DishDto getByIdWithFlavor(Long id);
    //修改菜品
    void editDish(DishDto dishDto);
}